package com.dcbeida.activity.addnewpatient.historyofsmoking;


import com.dcbeida.base.BasePresenter;
import com.dcbeida.base.BaseView;
import com.dcbeida.bean.HistoryOfSmokingBean;

/**
 * Created by hp on 2016/5/12.
 */
public interface HistoryOfSmokingContract {

    interface View extends BaseView<Present> {

        void getDataError(String msg, int type);

        void getDataSuccess(HistoryOfSmokingBean historyOfSmokingBean);

        void showTip(String msg);
    }

    interface Present extends BasePresenter {

        void getData(String parentid, String pageindex, String pagesize);
    }
}
